﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Fluq
{
	public interface IDependencyComposer
	{
		bool TryCompose(object graphId, IDependencyContainer container, Type type, IEnumerable<IDependencyParameter> parameters, out object instance);

		bool TryCompose(IDependencyContainer container, Type type, IEnumerable<IDependencyParameter> parameters, out object instance);

		bool TryDestroy(object instance);
	}
}
